

package jetbrains.buildServer.server.rest.model.user;

import java.util.Set;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import jetbrains.buildServer.server.rest.swagger.annotations.ModelDescription;
import org.jetbrains.annotations.NotNull;

@XmlType(name = "two-factor-recovery")
@XmlRootElement(name = "two-factor-recovery")
@ModelDescription("Represents recovery keys for two-factor authentication")
public class TwoFactorRecoveryKeys {
  @XmlElement
  public Set<String> recoveryKeys;

  public TwoFactorRecoveryKeys() {

  }

  public TwoFactorRecoveryKeys(@NotNull Set<String> recoveryKeys) {
    this.recoveryKeys = recoveryKeys;
  }
}